package com.hdax.dm.rest;

import com.hdax.dm.beans.item.Item;
import com.hdax.dm.beans.order.order;
import com.hdax.dm.beans.pay.trade;
import com.hdax.dm.common.api.payControolerApi;
import com.hdax.dm.service.payService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpServletRequest;

@Service
public class payRestService implements payControolerApi {
    @Autowired
    private payService payService;

    @Override
    public Integer addpay(trade trade) {
        return payService.addpay(trade);
    }
}
